﻿using M_Process.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Process.Repository
{
    public class PEFContext:DbContext
    {
        public PEFContext(DbContextOptions options): base(options) { }
        //工艺表
        public DbSet<ProcessRoute> processRoutes { get; set; }

        /// <summary>
        /// 工艺工序关联表
        /// </summary>
        public DbSet<ProcessProcedures> ProcessProcedures { get; set; }

        /// <summary>
        /// 工序表
        /// </summary>
        public DbSet<ProductionProcess> ProductionProcesses { get; set; }

        /// <summary>
        /// 工序任务表
        /// </summary>
        public DbSet<ProcessTasks> ProcessTasks { get; set; }


        /// <summary>
        /// 报工表
        /// </summary>
        public DbSet<Reporting> Reportings { get; set; }
    }
}
